$f: 19.2;

.home {
  position: relative;
  width: 100%;

  .banner {
    position: relative;

    img {
      width: 100%;
      display: block;
      object-fit: cover;
    }

    .text {
      position: absolute;
      left: 190/$f+vw;
      top: 55%;
      transform: translateY(-50%);

      .p1 {
        background: linear-gradient(180deg, rgba(56, 110, 181, 0.50) 35.29%, rgba(255, 255, 255, 0.00) 84.31%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 40/$f+vw;
        text-transform: uppercase;
        font-family: 'PingFang';
        font-weight: 600;
      }

      .p2 {
        color: #386EB5;
        font-size: 48/$f+vw;
        font-weight: 700;
        margin-top: -1vw;
      }
    }
  }

  .section1{
    background: url('../images/tbg.png') no-repeat;
    background-size: cover;
    padding: 160/$f+vw 160/$f+vw  100/$f+vw 220/$f+vw;
    display: flex;
    justify-content: space-between;
    div{
      width: 48%;
      line-height: 1.7;
    }
    .des{
      color: #000;
      font-size: 20/$f+vw;
    }
    .des2{
      font-size:24/$f+vw;
      color: #000;
      font-family: 'SourceHanSansCN-Medium';
    }
  }

  .main{
    .section2{
      margin: 132/$f+vw 190/$f+vw;
      .allItems {
        display: flex;
        justify-content: space-between;
        width: 95%;
        margin: 0 auto;
        .item {
          text-align: center;
          width: 170/$f+vw;
  
          .icon {
            width: 145/$f+vw;
            height: 145/$f+vw;
            border-radius: 6/$f+vw;
            background: linear-gradient(180deg, #386EB5 0%, #579AD5 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
            overflow: hidden;
  
            img {
              max-width: 60%;
              max-height: 60%;
              display: block;
              object-fit: contain;
              transition: all 600ms;
            }
          }
  
          .p1 {
            color: #000;
            font-size: 24/$f+vw;
            margin: 40/$f+vw 0 10/$f+vw 0;
          }
  
          &:hover {
            .icon {
              img {
                transform: scale(1.1);
              }
            }
          }
        }
      }
    }
    .section3{
      .t{
        color: #000;
        font-size: 40/$f+vw;
        margin: 0 190/$f+vw;
        font-family: 'SourceHanSansCN-Medium';
      }
      .list{
        .item{
          display: flex;
          justify-content: space-between;
          padding: 4vw 190/$f+vw;
          .pic{
            width: 50%;
            overflow: hidden;
            img,video{
              width: 100%;
              display: block;
              object-fit: cover;
              transition: all 600ms;
            }
            &:hover{
              img{
                transform: scale(1.05);
              }
            }
          }
          .info{
            width: 46%;
            .st{
              color: #000;
              font-size: 24/$f+vw;
              font-weight: 700;
              margin: 32/$f+vw 0;
            }
            .des{
              color: #000;
              font-size: 20/$f+vw;
              line-height: 2;
            }
          }
        }
        .item:nth-child(2n){
          flex-direction: row-reverse;
          background: #FAFAFA;
        }
      }
    }
  }


  .getIn {
    background: url(../images/gbg3.png) no-repeat;
    background-size: cover;
    position: relative;
    padding: 90/$f+vw 200/$f+vw;

    &::before {
      content: '';
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(92deg, #00142E -2.77%, rgba(0, 0, 0, 0.00) 99.07%);
    }

    .box {
      position: relative;
      z-index: 2;

      .t1 {
        text-align: center;
        color: #F1F1F1;
        font-size: 40/$f+vw;
      }

      .pics {
        margin: 16/$f+vw 0;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .pic1 {
          img {
            width: 164/$f+vw;
            display: block;
          }
        }

        .line {
          width: calc(90% - 11vw);
          background: #818181;
          height: 1px;
          position: relative;
          overflow: hidden;

          span {
            position: absolute;
            left: 0;
            top: 0;
            width: 20%;
            background-color: white;
            height: 1px;
            transform: translateX(-100%);
          }

          .on {
            animation-name: progress;
            animation-duration: 1s;
            animation-timing-function: linear;
            animation-iteration-count: 1;
          }

          @keyframes progress {
            0% {
              left: 0;
              transform: translateX(-100%);
            }

            100% {
              left: 100%;
              transform: translateX(100%);
            }
          }
        }

        .pic2 {
          img {
            width: 156/$f+vw;
            display: block;
          }
        }
      }

      a {
        width: 162/$f+vw;
        height: 58/$f+vw;
        border: 1px solid #FFF;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18/$f+vw;
        transition: all 600ms;
        color: white;
        margin: 0 auto;

        svg {
          width: 11/$f+vw;
          display: block;
          margin: 2px 0 0 0.6vw;
          path {
            transition: all 600ms;
          }
        }

        &:hover {
          background: #fff;
          color: #000;

          svg {
            path {
              fill: #000;
            }
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .banner{
      img{
        height: 150px;
      }
      .text{
        left: 5%;
        top:50%;
        .p1{
          font-size: 20px;
        }
        .p2{
          font-size: 20px;
          margin-top: -10px;
        }
      }
    }
    .section1{
      padding: 30px 5%;
      flex-direction: column;
      .des{
        font-size: 16px;
      }
      div{
        width: 100%;
      }
      .des2{
        font-size: 18px;
      }
    }
    .main{
      .section2{
        margin: 30px 5%;
        .allItems{
          width: 100%;
          flex-wrap: wrap;
          justify-content: space-between;
          .item{
            width: 30%;
            .icon{
              width: 100%;
              height: 111px;
              img{
                max-width: 40%;
                max-height: 40%;
              }
            }
            .p1{
              font-size: 18px;
              margin: 10px 0;
            }
          }
        }
      }
      .section3{
        .t{
          font-size: 20px;
          margin: 0 5%;
        }
        .list{
          .item{
            flex-direction: column;
            padding: 30px 5%;
            .pic{
              width: 100%;
            }
            .info{
              width: 100%;
              .st{
                font-size: 18px;
                margin: 20px 0 0 0;
              }
              .des{
                font-size: 16px;
              }
            }
          }
          .item:nth-child(2n){
            flex-direction: column;
          }
        }
      }
    }
    .getIn{
      padding: 40px 5%;
      .box{
        .t1{
          font-size: 20px;
        }
        .pics{
          margin: 15px 0;
          .pic1,.pic2{
            img{
              width: 60px;
            }
          }
          .line{
            width: calc(95% - 120px);
          }
        }
        a{
          width: 150px;
          height: 45px;
          font-size: 14px;
          svg{
            width: 12px;
            margin: 0 0 0 8px;
          }
        }
      }
    }
  }
}